package com.ding;

import com.ding.controller.E;
import com.ding.controller.TT;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Client {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(Client.class, args);

        TT bean = context.getBean(TT.class);

        E e = new E();

        e.setN("测试");

        String t = bean.t(e);

        System.out.println(t);

    }

}
